home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 866 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  2.9 KB

  1. From: sjg
  2. Subject: File structure
  3. Date: Tue, 18 Jan 94 14:41:50 +0000
  4. X-Mts: smtp
  5.  
  6.  
  7. The MiNT distribution kit sets up the following directory structure:
  8.  
  9.     /etc            machine-biased files/programs
  10.     /bin            'important' binaries
  11.     /dev            devices (set up by MiNT)
  12.     /pipe            named pipes (set up by MiNT)
  13.     /proc            processes (set up by MiNT)
  14.     /shm            shared-memory sections (set up by MiNT)
  15.     /tmp            temporary files - cleared at boot-time
  16.     /var            maintenance directories
  17.         /adm        admin files
  18.         /log        log files
  19.         /spool        spool files (eg: cron/mail)
  20.     /usr            user-level directories
  21.         /bin        user-orientated binaries
  22.         /etc        daemons and their control programs
  23.         /doc        docs that aren't man pages. 1 file/dir each
  24.         /include        general include directory
  25.            /g++        inc. files for G++
  26.            /gem++        inc. files for Gem++
  27.            /mgr        inc. files for mgr
  28.            /sys        system-type include files
  29.         /info        TeXinfo style documentation
  30.         /lib        system libraries. Subdirs for programs
  31.         /local        local-to-system directories
  32.            /man             }
  33.            /bin             } currently contains groff and tclsh
  34.            /lib             }
  35.         /man        manual directories and the whatis database
  36.            /man?        ?=1->8 manual sections
  37.            /cat?        ?=1->8 pre-formatted sections
  38.         /mnt        mounting filesystems onto (note: can't use /mnt)
  39.         /spool        link to /var/spool
  40.         /src        contains directories of system'y source code
  41.            /fs        minixFS source code
  42.            /kernel        MiNT 1.09 source code
  43.            /lib        patchLevel 42 MiNTlib source code
  44.         /tmp        temporary files *not* cleaned at boot-time
  45.         /ucb        ucb-type bins (currently just vi)
  46.         /users        root directory for users home dirs
  47.         /var        link to /var
  48.  
  49. This isn't perhaps the most coherent way of setting it out (maybe a tree
  50. diagram would be better), but it shows how I set up the fs structure, and
  51. what I put into which directories.
  52.  
  53. [note: The only reason vi is in /usr/ucb is that some programs hardcode 
  54. /usr/ucb into themselves- otherwise it'd be in /usr/bin and like it!]
  55.  
  56. [note2: This is set up as it is on my HD at home under MDK 3.0 - Some things
  57. are missing (notably the src directory) in MDK 2.0, and some programs are
  58. not in their 'correct' places.]
  59.  
  60. [note3: I've only ever got one version of a program. This version has to be
  61. all things to all men. For example, more is in /usr/bin, not /bin.]
  62.  
  63. Any objections to me putting this forward as a first attempt to ratify 
  64. the filesystem should be posted :-)
  65.  
  66. BTW: I vote for MiNX as the name for the more-unix-alike system (if we
  67. need one. I've found that undeffing anything to do with the ST is the easiest
  68. way to get things to compile <grin>)
  69.  
  70. Simon.
  71. _______________________________________________________________________
  72. \ Simon Gornall - Kings College London. Email: sjg@phlem.ph.kcl.ac.uk /
  73. /    - finger sjg@137.73.4.24 for info on the MiNT distrib kit -      \
  74. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  75.  
  76.